// 点击加入购物车
import requext from '@/unlit/request.js'

// 点击加入购物车 cart/addCart
export const addCart = function (data) {
  return requext.post('cart/addCart', data)
}

// 购物车列表 cart/cartList
export const cartList = function (data) {
  return requext.get('cart/cartList', data)
}
// 删除商品 cart/deleteAction
export const deleteAction = function (data) {
  return requext.get('cart/deleteAction', data)
}